package com.czm.art_light.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 话题信息
 * </p>
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
@TableName("art_topic")
public class ArtTopic implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 话题id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 话题名称
     */
    private String topicName;

    /**
     * 话题详细描述
     */
    private String topicDescription;

    /**
     * 话题背景图片的URL地址
     */
    private String backgroundImageUrl;
    /**
     * 话题创建时间
     */
    private LocalDateTime createdAt;

    /**
     * 话题修改时间
     */
    private LocalDateTime updatedAt;
}